<{include file="../common/header.tpl"}>
<table width="100%" border="0" cellspacing="0">
	<tr>
		<td width="13%" valign="top">
			<{include file="../common/left.tpl"}>
		</td>
		<td width="87%" valign="top">

			<table width="100%" border="0" cellspacing="0">
				<tr>
					<td>
						<div class="subnav">
							<div class="content-menu ib-a blue line-x"> <a href="javascript:void(0);" class="on"><em>导入网点</em></a></div>
						</div>
						<div class="pad_10">
							<div class="table-list">
								<div class="common-form">
									<form name="myform" action="/webadmin/network/doImport" method="post" id="myform" enctype="multipart/form-data">
										所属银行：
										<select name="bank_id">
											<option value="0">=请选择=</option>
											<{foreach $banklist as $key => $val}>
												<option value="<{$key}>"><{$val}></option>
											<{/foreach}>
										</select>
										<br><br>
										选择网点EXCEL：
										<input type="file" name="upfile"/>
                                                                                &nbsp;&nbsp;
                                                                                <a href="/webadmin/network/templateDown" class="button">网点导入模板下载</a>
										
										<div class="bk15"></div>
										<input name="dosubmit" type="submit" value="提交" class="button">
									</form>
								</div>
								
							</div>
						</div>

					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<script type="text/javascript">
	$(document).ready(function(){
		$('form[name="myform"]').submit(function(){
			var bank_id = $('select[name="bank_id"]').val();
			if (!parseInt(bank_id)) {
				alert('请选选择所属银行');
				return false;
			}
			return true;
		})
	});
</script>
<{include file="../common/footer.tpl"}>